package cn.design.realize;

/**
 * @author dlq
 * @description 中介类
 * @date 2020/9/21 10:38
 * @since 1.0
 */
public class Intermediary {

    public void helpClientLookHouse(String name) {
        System.out.println("帮组"+name+"找一个能租的房子");
        //找到客户中意的房子
        LookHouse lookHouse = new LookHouse();
        lookHouse.lookAHouse();
        //联系房子的房东
        ConnectionLandlord connectionLandlord = new ConnectionLandlord();
        connectionLandlord.connectionLandlord();
        //帮助客户签上合同
        SignContract signContract = new SignContract();
        signContract.signAContract();

    }
}
